package com.basker.pisces.domain.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD})
public @interface PropertyOutput {

    @AliasFor("value")
    String propertyAlias() default "";

    @AliasFor("propertyAlias")
    String value() default "";

    ValueType valueType() default ValueType.DataValue;

    public static enum ValueType {
        DataValue, PresentValue, ObjectValue
    }
}
